home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / QuickDraw3D 1.6 SDK / Mac SampleCode New for 1.6 / RollerCoasterSampleMac / Interfaces / WinPrefix.h < prev   
Encoding:
Text File  |  1999-05-18  |  1015 b   |  32 lines  |  [TEXT/CWIE]

  1. // WinPrefix.h
  2. // prefix file for our Windows projects
  3.  
  4. #ifndef __Prefix_File__
  5. #define __Prefix_File__
  6.  
  7. #if !defined(_MSC_VER)
  8. #include <Win32Headers.mch>
  9. #define TARGET_OS_WIN32            1
  10. #else
  11. #include <ConditionalMacros.h>
  12. #endif
  13.  
  14. // Definitions for the project
  15. #define DEBUG                            0
  16. #define ONLY_ENCODED_SCRIPTS            0
  17. #define PROFILING_ON                    0
  18. #undef QD3D_NO_DIRECTDRAW
  19.  
  20. #define QD3D_AVAIL                        !TARGET_CPU_68K
  21. #define PASCAL_RTN
  22.  
  23. // if we're being compiled by Microsoft Visual C++, turn off some warnings
  24. #if defined(_MSC_VER) && !defined(__MWERKS__) 
  25.     #pragma warning(disable:4068)        // ignore unknown pragmas
  26.     #pragma warning(disable:4244)        // ignore conversion from "long" to "short", possible loss of data
  27.     #pragma warning(disable:4761)        // ignore integral size mismatch in argument: conversion supplied
  28.     #pragma warning(disable:4129)        // ignore 'p': unrecognized character escape sequence
  29.     #pragma warning(disable:4229)        // ignore anachronism used: modifiers on data are ignored
  30. #endif
  31.  
  32. #endif    // __Prefix_File__